Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

E2E deploy test: rewrite in go tests #814

Merged
merged 58 commits into from
Jan 20, 2021
Merged

Conversation

rinx
Copy link
Contributor

@rinx rinx commented Nov 5, 2020

Description:

  • E2E deploy tests re-written in golang.
  • E2E deploy tests will be run by labeling PRs with actions/e2e-deploy.

Related Issue:

Nothing.

How Has This Been Tested?:

Nothing.

Environment:

  • Go Version: 1.15.2
  • Docker Version: 19.03.8
  • Kubernetes Version: 1.18.2
  • NGT Version: 1.12.1

Types of changes:

  • Bug fix [type/bug]
  • New feature [type/feature]
  • Add tests [type/test]
  • Security related changes [type/security]
  • Add documents [type/documentation]
  • Refactoring [type/refactoring]
  • Update dependencies [type/dependency]
  • Update benchmarks and performances [type/bench]
  • Update CI [type/ci]

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

Checklist:

  • I have read the CONTRIBUTING document.
  • I have checked open Pull Requests for the similar feature or fixes?
  • I have added tests and benchmarks to cover my changes.
  • I have ensured all new and existing tests passed.
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly.

@vdaas-ci
Copy link
Collaborator

vdaas-ci commented Nov 5, 2020

[CHATOPS:HELP] ChatOps commands.

  • 🙆‍♀️ /approve - approve
  • 💌 /changelog - add changelog comment
  • 🍱 /format - format codes and add licenses
  • /gen-test - generate test codes
  • 🏷️ /label - add labels
  • /rebase - rebase master

@rinx rinx force-pushed the ci/e2e-deploy/rewrite-in-go-tests branch 4 times, most recently from e1a57c6 to b604eeb Compare November 5, 2020 08:15
@rinx rinx force-pushed the ci/e2e-deploy/rewrite-in-go-tests branch 3 times, most recently from ccfe2f4 to 17c59fd Compare November 10, 2020 07:49
@rinx
Copy link
Contributor Author

rinx commented Nov 10, 2020

/label actions/e2e-deploy

@rinx
Copy link
Contributor Author

rinx commented Nov 10, 2020

/label actions/e2e-deploy

@rinx
Copy link
Contributor Author

rinx commented Nov 10, 2020

📝 after #740 merged into master, this PR will be revised to use v1 APIs for E2E CRUD tests.

@rinx
Copy link
Contributor Author

rinx commented Nov 11, 2020

/label actions/e2e-deploy
fixed the internal/db/rdb/mysql codes just for workaround. it should be revised later.

@codecov
Copy link

codecov bot commented Nov 11, 2020

Codecov Report

Merging #814 (8186a7f) into master (fc1421e) will increase coverage by 0.16%.
The diff coverage is 81.81%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #814      +/-   ##
==========================================
+ Coverage   15.91%   16.08%   +0.16%     
==========================================
  Files         474      475       +1     
  Lines       23684    23754      +70     
==========================================
+ Hits         3770     3820      +50     
- Misses      19678    19693      +15     
- Partials      236      241       +5     
Impacted Files Coverage Δ
internal/db/rdb/mysql/mysql.go 95.67% <81.81%> (-0.81%) ⬇️
internal/worker/queue.go 98.33% <0.00%> (-1.67%) ⬇️
internal/worker/worker.go 82.29% <0.00%> (-1.05%) ⬇️
internal/net/net.go 73.77% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6adeefb...8186a7f. Read the comment docs.

Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>

:pencil2: Fix typo

Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>
@rinx
Copy link
Contributor Author

rinx commented Jan 20, 2021

Updated.
E2E tests for Vald with Scylla and Vald with MySQL & Redis are failing on StreamUpdate operations.
Maybe caused by machine spec...

@rinx rinx requested a review from kpango January 20, 2021 02:27
Copy link
Collaborator

@kpango kpango left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kpango kpango merged commit 7a78959 into master Jan 20, 2021
@kpango kpango deleted the ci/e2e-deploy/rewrite-in-go-tests branch January 20, 2021 05:56
@vdaas-ci vdaas-ci mentioned this pull request Jan 29, 2021
18 tasks
@kpango kpango mentioned this pull request Feb 2, 2021
11 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants